Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 6 - Style Objects / Style Objects Reference
Style Objects Routines / Managing Highlight Styles


Q3HighlightStyle_New

You can use the Q3HighlightStyle_New function to create a new highlight style object.

TQ3StyleObject Q3HighlightStyle_New (
TQ3AttributeSet highlightAttribute);
highlightAttribute
An attribute set.
DESCRIPTION
The Q3HighlightStyle_New function returns, as its function result, a new style object having the highlight style specified by the highlightAttribute parameter. The highlightAttribute parameter should be a reference to an attribute set.

If a new style object could not be created, Q3HighlightStyle_New returns the value NULL.

To change the current highlight style, you must actually draw the style object. You can call Q3Style_Submit to draw the style in retained mode or Q3HighlightStyle_Submit (described next) to draw the style in immediate mode.

SEE ALSO
See "Highlight Styles" on page 6-6 for a description of highlight styles.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996